package com.study.group.modules.mongo.dao;

import com.study.group.common.entrty.Person;

import java.util.List;

/**
 * @Description mongoGo工具类使用
 * @Author      yanghanwei
 * @Mail        yanghanwei@geotmt.com
 * @Date        2019/4/28 13:38
 * @Version     v1
 **/
public interface PersonDao2 {

    List<Person> listAll();

    Person saveP(Person person);

    List<Person> getByName(String name);

}
